home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / tuner / Makefile < prev    next >
Makefile  |  1994-08-01  |  1KB  |  46 lines

  1. #
  2. # See file customize.h for additional customizations.
  3. #
  4.  
  5. # Customizations for SGI, Irix 4.0:
  6. MOTIF_INC=
  7. MOTIF_LIB=
  8.  
  9. RESDIR=.
  10. BINDIR=/ufs/jack/bin/sgi
  11.  
  12. #
  13. TUNERFLAGS=-I/share/usr/include -DVOLUME
  14. ALIB=-laudio
  15.  
  16. #
  17. # Customizations for Suns with old Motif in a funny place:
  18. #MOTIF_INC=-DMOTIF1_0 -I/usr/local/X/usr/include/X11/motif
  19. #MOTIF_LIB=-L/usr/local/X/motif/lib
  20.  
  21. #RESDIR=/ufs/jack/etc
  22. #BINDIR=/ufs/jack/bin/sgi
  23.  
  24. OBJS=tuner_main.o tuner_ui.o tuner_io.o tuner_sl.o tuner_volume.o
  25. SRCS=tuner_main.c tuner_io.c tuner_ui.c tuner_sl.c tuner_volume.c
  26. XSRCS=README Makefile Tuner.resources tuner.man tuner.h customize.h
  27. CFLAGS=-O -cckr -DRESOURCE_PATH=\"$(RESDIR)/Tuner.resources\" $(MOTIF_INC) \
  28.     $(TUNERFLAGS)
  29.  
  30. tuner: $(OBJS)
  31.     $(CC) $(CFLAGS) $(OBJS) $(MOTIF_LIB) $(ALIB) -lXm -lXt -lX11 -lm -o tuner
  32.  
  33. $(OBJS): tuner.h customize.h Makefile
  34.  
  35. install: tuner Tuner.resources
  36.     cp tuner $(BINDIR)
  37.     cp Tuner.resources $(RESDIR)
  38.  
  39. clean:
  40.     rm -f $(OBJS)
  41.  
  42. shar:    tuner1.4.shar
  43.  
  44. tuner1.4.shar: $(XSRCS) $(SRCS)
  45.     shar $(XSRCS) $(SRCS) > tuner1.4.shar
  46.